package models

import (
    "go-admin/common/models"
)

type HtResume struct {
    models.Model

    TalentId int      `json:"talentId" gorm:"type:bigint;comment:人才id"`
    Talent   HtTalent `json:"talent" gorm:"foreignkey:TalentId"`
    FileUri  string   `json:"fileUri" gorm:"type:varchar(128);comment:附件路径"`
    models.ModelTime
    models.ControlBy
}

func (HtResume) TableName() string {
    return "ht_resume"
}

func (e *HtResume) Generate() models.ActiveRecord {
    o := *e
    return &o
}

func (e *HtResume) GetId() interface{} {
    return e.Id
}
